﻿@if(Request.IsAuthenticated) {
    <text>Welcome 
    @if(ViewBag.IsAdminLogged)
    {
        <text> administrator </text>
    }    
    <b>@Context.User.Identity.Name</b>!
    @Html.ActionLink("Sign out", "LogOff", "Account") </text>
}
else {
    @: @Html.ActionLink("Login", "Login", "Account") / @Html.ActionLink("Create Account", "Register", "Account") 
}
